package com.data.sample.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.data.sample.entity.EquipmentUnit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 管线机组信息 Mapper 接口
 * @author system
 * @date 2025-10-17
 */
@Mapper
public interface EquipmentUnitMapper extends BaseMapper<EquipmentUnit> {

    /**
     * 根据站场代号查询所有机组
     * @param stationCode 站场代号
     * @return 机组列表
     */
    List<EquipmentUnit> selectByStationCode(@Param("stationCode") String stationCode);
}

